home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc20
/
gemfsc20.lzh
/
GEMFUNCS
/
EVNXTIME.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-03-21
|
726b
|
31 lines
/**************************************************************************
* EVNXTIME.C - Extended evnt_timer() routine...
*************************************************************************/
#include "gemfintl.h"
#ifdef __GNUC__
#undef evnt_timer
extern short evnt_timer(unsigned long milliseconds);
short _EvntFixGNUTimer(unsigned short locount, unsigned short hicount)
{
return evnt_timer((((unsigned long)hicount) << 16) | locount);
}
#endif /* __GNUC__ */
short evnx_timer(milliseconds)
unsigned long milliseconds;
{
#ifdef __GNUC__
return evnt_timer(milliseconds);
#else
return evnt_timer((short)(milliseconds&0xFFFF),(short)(milliseconds>>16));
#endif
}